layout 'groovy/layouts/main.tpl',
        pageTitle: 'Groovy标记语言模板',
        mainBody: contents {
            div(class: "page-header"){
                h1{
                    yield "Spring Boot Groovy"
                    small{yield '模板引擎成功运行'}
                }

            }
            ul(class: "list-group"){
                li(class: "list-group-item"){yield "JAVA版本:$javaVersion"}
                li(class: "list-group-item"){yield "SPRING版本:$springVersion"}
                li(class: "list-group-item"){yield "SPRING-BOOT版本: $springBootVersion"}
                li(class: "list-group-item"){yield "GROOVY模板引擎版本: $groovyVersion"}
            }

        }
